home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 2
/
Meeting Pearls Vol. II (1995)(GTI - Schatztruhe)[!].iso
/
Pearls
/
mus
/
DASModPlayer
/
Install-DASMP
< prev
next >
Wrap
Text File
|
1994-09-20
|
12KB
|
504 lines
; This is installation script (V1.5a) for D.A.S.ModulePlayer V3.4
(set daseplibsource "libs/dasmp")
(set dasextarcsource "ENV/dasmp.extarc")
(set dasauthorsource "ENV/dasmp.author")
(set arexxsource "rexx")
(set #copying-eplib "Copying External Player Libraries... ")
(set #copying-exes "Copying Executables and guide files... ")
(set #copying-arexx "Copying example arexx scripts...")
(set #exists-extarc
(cat "dasmp.extarc was already found from your ENV: drawer "
"Would you like to overwrite it? This may destroy "
"previous settings you may have done for external archivers. "))
(set #exists-author
(cat "dasmp.author was already found from your ENV: drawer "
"Would you like to overwrite it? This will destroy "
"previous settings you may have done for your author listing. "))
(set #copy-extarc
(cat "Would you like to have an example external archiver "
"listfile copied to your ENV: and ENVARC:? This listing "
"is required if you want to use external archivers (such as LHA) "
"This example file includes examples for LHA and ZIP archivers. "))
(set #copy-author
(cat "Would you like to have an example author listing "
"file copied to your ENV: and ENVARC:? "
"If you have your own author listing done this will "
"Overwrite it. This includes atleast the same as previous "
"example author files."))
(set #copy-magicwb
(cat "Would you like to have neat 8-color MAGIC WB "
"icons copied instead of those dull 4 color ones? "))
(set #scandir-do
(cat "Would you like to select a directory which will "
"be scanned everytime you run D.A.S.MP? "))
(set #blaahlastwords
(cat "Now that you have installed D.A.S.MP: "
"If you want to play other than PT/NT modules "
"You have to add appropriate EPL files to "
"External Player List in Config page 5. "
"Read the manual for more infomation. "))
(set #blaahlastwords2
(cat "There is fake damsp.key file available from pirate BBS's "
"Using the Fake/Cracked dasmp.key file is direct violation "
"of copyright laws and WILL cause appropriate measures to "
"be taken. Using fake key file may cause anything. "
"You have been warned! "
"(Unregistered and registered users are safe)"))
(set #copy-arexx
(cat "Do you want to have example arexx script copied?"))
(set #copy-020libs
(cat "Do you want to copy 68020++ specific libraries? "
"You will need MC68020 or better for these to work. "))
(set @default-dest
(askdir
(prompt "Please select directory to install D.A.S.MP into. ")
(help "You must select a directory into which D.A.S.ModulePlayer "
"will be installed. There should be around 400 KB space "
"available for full software installation. Directory is "
"not created by the script. "
@askdir-help
)
(default "SYS:")
)
)
(set @default-docdest
(askdir
(prompt "Please select directory to install Documents into. "
"Documents include: Dasmp.guide, Dasmp.guide.info. ")
(help "Dasmp.guide file will be copied to this destination "
@askdir-help
)
(default @default-dest)
)
)
(complete 5)
(copyfiles
(prompt "\n" #copying-exes)
(help "")
(source "dasmodplayer")
(dest @default-dest)
)
(copyfiles
(prompt "\n" #copying-exes)
(help "")
(source "converter")
(dest @default-dest)
(infos)
)
(complete 25)
(copyfiles
(prompt "\n" #copying-exes)
(help "")
(source "dasmp.guide")
(dest @default-docdest)
(infos)
)
(if (< (/ (getversion) 65536) 39)
(
(tooltype
(dest (tackon @default-docdest "dasmp.guide"))
(setdefaulttool "SYS:Utilities/AmigaGuide")
)
))
(set doregdoc (exists "l:dasmp.key"))
(if (= doregdoc 0)
(copyfiles
(prompt "\n" #copying-docs)
(help "")
(source "Register.doc")
(dest @default-dest)
(infos)
))
(set @default-ldest
(askdir
(prompt "Please select directory to install D.A.S.MP "
"External player libraries (EPL) into. ")
(help "You may select any directory you wish. To use these "
"External player libraries, you will have to add them "
"one by one from the D.A.S.MP itself. "
@askdir-help)
(default "LIBS:")
)
)
(complete 50)
; EPL COPY ------------------------------------------------------
(set tools
(askoptions
(prompt "Which EPLs you want to install?")
(help @askoptions-help)
(choices "S3M player" "MTM Player" "6-8 Channel mods" "QuadraComposer" "Future Composer" "(Octa)Med"
"PT/NT FAST ram" "Sound Mon 2.0" "MULT (6 formats)" "SID" "TFMX")
)
)
(if (in tools 0)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasS3M0.library")
(dest @default-ldest)
)
))
(if (in tools 1)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasMTM.library")
(dest @default-ldest)
)
))
(if (in tools 2)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/das68CH.library")
(dest @default-ldest)
)
))
(if (in tools 3)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasQC20.library")
(dest @default-ldest)
)
))
(if (in tools 4)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasFC.library")
(dest @default-ldest)
)
))
(if (in tools 5)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasMMD0.library")
(dest @default-ldest)
)
))
(if (in tools 6)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasFAST.library")
(dest @default-ldest)
)
))
(if (in tools 7)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasSM20.library")
(dest @default-ldest)
)
))
(if (in tools 8)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasMULT.library")
(dest @default-ldest)
)
))
(if (in tools 9)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasSID.library")
(dest @default-ldest)
)
))
(if (in tools 10)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/dasTFMX.library")
(dest @default-ldest)
)
))
(if
(askbool
(prompt #copy-020libs)
(help "")
(default 1)
)
(
(set tools
(askoptions
(prompt "Select the 020 optimized libraries to install.")
(help @askoptions-help)
(choices "S3M player" "MTM Player" "6-8 Channel mods")
)
)
(if (in tools 0)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/020/dasS3M0.library")
(dest @default-ldest)
)
))
(if (in tools 1)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/020/dasMTM.library")
(dest @default-ldest)
)
))
(if (in tools 2)
(
(copyfiles
(prompt "\n" #copying-eplib)
(help @copylib-help)
(source "libs/dasmp/020/das68CH.library")
(dest @default-ldest)
)
))
)) ; End 020 optimized library install
; Example lists --------------------------------------------------------
(set tools
(askoptions
(prompt "Select what parts to install. "
"These will override old lists/scripts. " )
(help @askoptions-help)
(choices "Example: External arc list" "Example: Author list" "Example: Rexx scripts")
)
)
(if (in tools 0)
(
(
(if (exists "ENV:dasmp.extarc")
(askbool
(prompt #exists-extarc)
(help "")
(default 1)
)
(
(copyfiles
(source dasextarcsource)
(dest "ENVARC:")
)
(copyfiles
(source dasextarcsource)
(dest "ENV:")
)
)
))
))
(if (in tools 1)
(
(if (exists "ENV:dasmp.author")
(askbool
(prompt #exists-author)
(help "")
(default 1)
)
(
(copyfiles
(source dasauthorsource)
(dest "ENVARC:")
)
(copyfiles
(source dasauthorsource)
(dest "ENV:")
)
)
)))
(if (in tools 2)
(
(set @default-rexxdest
(askdir
(prompt "Please select directory to install example "
"arexx scripts to. ")
(help @askdir-help)
(default "rexx:")
))
(copyfiles
(prompt "\n" #copying-arexx)
(help "")
(source "rexx")
(dest @default-rexxdest)
(all)
)
))
;(if
; (askbool
; (prompt #copy-extarc)
; (help "")
; (default 1)
; )
; (
; (if (exists "ENV:dasmp.extarc")
; (askbool
; (prompt #exists-extarc)
; (help "")
; (default 1)
; )
; (
; (copyfiles
; (source dasextarcsource)
; (dest "ENVARC:")
; )
; (copyfiles
; (source dasextarcsource)
; (dest "ENV:")
; )
; )
; )
; )
;)
;(if
; (askbool
; (prompt #copy-author)
; (help "")
; (default 1)
; )
; (
; (copyfiles
; (source dasauthorsource)
; (dest "ENVARC:")
; )
; (copyfiles
; (source dasauthorsource)
; (dest "ENV:")
; )
; )
;)
(complete 70)
;(if
; (askbool
; (prompt #copy-arexx)
; (help "")
; (default 1)
; )
;
; ( ; start of if statement
; (set @default-rexxdest
; (askdir
; (prompt "Please select directory to install example "
; "arexx scripts to. ")
; (help @askdir-help)
; (default "rexx:")
; ))
; (copyfiles
; (prompt "\n" #copying-arexx)
; (help "")
; (source "rexx")
; (dest @default-rexxdest)
; (all)
; )))
(set dasicon (tackon @default-dest "dasmodplayer.info"))
(set doinfo (exists dasicon))
(if (= doinfo 0)
(
(copyfiles
(prompt "\n" #copying-exes)
(help "")
(source "DMODPAPPICON.info")
(dest @default-dest)
)
(copyfiles
(prompt "\n" #copying-exes)
(help "")
(source "dasmodplayer.info")
(dest @default-dest)
)
(if
(askbool
(prompt #copy-magicwb)
(help "")
(default 1)
)
(
(copyfiles
(source "MagicWB-icons")
(dest @default-dest)
(all)
)
)
))
)
(if (exists "HELP:English")
(
(copyfiles
(source "Locale/help/English/dasmphelp.guide")
(dest "HELP:English")
)
(tooltype
(dest (tackon @default-dest "dasmodplayer"))
(help @tooltype-help)
(settooltype "ONLINEHELP" "HELP:English/dasmphelp.guide")
)
))
(complete 90)
(if
(askbool
(prompt #scandir-do)
(help "")
(default 0)
)
( ; start of if statement
(set @default-scandest
(askdir
(prompt "Please select directory to scan. ")
(help @askdir-help)
(default "sys:")
))
(tooltype
(prompt "Setting scandir tooltype")
(dest (tackon @default-dest "dasmodplayer"))
(settooltype "SCANDIR" @default-scandest)
)))
(complete 100)
(message #blaahlastwords)
;(message #blaahlastwords2)